package com.sichen.common.constant;

import java.util.concurrent.TimeUnit;

/**
 * redis缓存的key值常量类
 * <p>Created with IntelliJ IDEA.
 * <p>Author: 思尘
 * <p>Created time: 2022-09-15 21:07
 * <p>Version: V1.0
 */
public class RedisKeyConstant {

    public static final String CATALOG_JSON = "catalogJSON";

    public static final int CATALOG_JSON_OUT_TIME = 1;

    public static final TimeUnit CATALOG_JSON_OUT_TIME_UNIT = TimeUnit.DAYS;

    public static final String REDIS_CATALOG_LOCK = "catalog_lock";

    public static final int REDIS_CATALOG_LOCK_OUT_TIME = 30;

    public static final TimeUnit REDIS_CATALOG_LOCK_OUT_TIME_UNIT = TimeUnit.SECONDS;

}
